import request from '@/utils/request'

// 查询基金流程通用申请单详细
export function getFundWfGeneral(id) {
  return request({
    url: '/general/fundWfGeneral/' + id,
    method: 'get'
  })
}

// 保存基金流程通用申请单
export function saveFundWfGeneral(data) {
  return request({
    url: '/general/fundWfGeneral/save',
    method: 'post',
    data: data
  })
}

// 根据流程节点ID初始化记录
export function getByWfNodeId(wfNodeId) {
  return request({
    url: '/general/fundWfGeneral/getByWfNodeId/' + wfNodeId,
    method: 'get'
  })
}

